find duplicate elements in array

welcome to shbcf.ru